package cn.tedu.guan;

public class GuanYu {
    private String name="关羽";

    private DragonBlade dragonBlade;

    private  RedHare redHare;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public DragonBlade getDragonBlade() {
        return dragonBlade;
    }

    public void setDragonBlade(DragonBlade dragonBlade) {
        this.dragonBlade = dragonBlade;
    }

    public RedHare getRedHare() {
        return redHare;
    }

    public void setRedHare(RedHare redHare) {
        this.redHare = redHare;
    }

    @Override
    public String toString() {
        return name+"骑着"+redHare+"使用"+dragonBlade+"和敌人战斗";
    }
}
